<script type="text/javascript" src="/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript"
        src="/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="/lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/lib/icheck/jquery.icheck.min.js"></script>
<script type="text/javascript" src="/vue/vue.min.js"></script>
<script type="text/javascript" src="/vue/axios.js"></script>
<script type="text/javascript"
        src="/lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>
<script type = "text/javascript"
src = "/lib/jquery.validation/1.14.0/validate-methods.js" ></script>
<script type="text/javascript"
        src="/lib/jquery.validation/1.14.0/messages_zh.min.js"></script>
<script type="text/javascript" src="/h-ui/js/H-ui.js"></script>

<script type="text/javascript"
        src="/lib/zTree/v3/js/jquery.ztree.excheck-3.5.min.js"></script>
<script type="text/javascript"
        src="/lib/zTree/v3/js/jquery.ztree.exedit-3.5.min.js"></script>
<script type="text/javascript" src="/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript"
        src="/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
<script>

  jQuery.validator.addMethod("iscarNum", function (value, element) {
    var length = value.length;
    var carNum = /^[\u4e00-\u9fa5]{1}[A-Z]{1}[A-Z_0-9]{5}$/;
    return this.optional(element) || carNum.test(value);
  }, "请输入正确的车牌号码！");
</script>